package gek.uni.diplom.ocl.example.exceptions;

public class OperationNotFoundException extends Exception {

  private String operationName;
  private String operationType;
  
  public OperationNotFoundException(String operationName, String operationType) {
    super();
    this.operationName = operationName;
    this.operationType = operationType;
  }
  
  @Override
  public String toString() {
    String result = super.toString();
    result = operationName == null? result+"; OperationName = "+operationName: result;
    result = operationType == null? result+"; OperationType = "+operationType: result;
    return result;
  }
  
  
}
